cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstMultiTask
mtsMulticastCommandVoid.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4
/*
5
6
Author(s): Ankur Kapoor, Peter Kazanzides, Anton Deguet
7
Created on: 2004-04-30
8
9
(C) Copyright 2004-2013 Johns Hopkins University (JHU), All Rights Reserved.
10
11
--- begin cisst license - do not edit ---
12
13
This software is provided "as is" under an open source license, with
14
no warranty. The complete license can be found in license.txt and
15
http://www.cisst.org/cisst/license.txt.
16
17
--- end cisst license ---
18
*/
19
20
25
26
27
#ifndef _mtsMulticastCommandVoid_h
28
#define _mtsMulticastCommandVoid_h
29
30
31
#include <
cisstMultiTask/mtsCommandVoid.h
>
32
#include <vector>
33
34
// Always include last
35
#include <
cisstMultiTask/mtsExport.h
>
36
46
class
CISST_EXPORT
mtsMulticastCommandVoid
:
public
mtsCommandVoid
47
{
48
public
:
49
typedef
mtsCommandVoid
BaseType
;
50
typedef
std::vector<BaseType *>
VectorType
;
51
52
protected
:
54
VectorType
Commands
;
55
56
public
:
58
mtsMulticastCommandVoid
(
const
std::string & name);
59
61
~mtsMulticastCommandVoid
();
62
64
virtual
bool
AddCommand
(
BaseType
* command);
65
67
virtual
bool
RemoveCommand
(
BaseType
* command);
68
70
virtual
mtsExecutionResult
Execute
(
mtsBlockingType
CMN_UNUSED
(blocking));
71
72
/* documented in base class */
73
virtual
void
ToStream
(std::ostream & outputStream)
const
;
74
};
75
76
77
#endif
// _mtsMulticastCommandVoid_h
78
mtsExecutionResult
Definition
mtsExecutionResult.h:34
mtsMulticastCommandVoid::mtsMulticastCommandVoid
mtsMulticastCommandVoid(const std::string &name)
mtsMulticastCommandVoid::VectorType
std::vector< BaseType * > VectorType
Definition
mtsMulticastCommandVoid.h:50
mtsMulticastCommandVoid::AddCommand
virtual bool AddCommand(BaseType *command)
mtsMulticastCommandVoid::BaseType
mtsCommandVoid BaseType
Definition
mtsMulticastCommandVoid.h:49
mtsMulticastCommandVoid::Commands
VectorType Commands
Definition
mtsMulticastCommandVoid.h:54
mtsMulticastCommandVoid::RemoveCommand
virtual bool RemoveCommand(BaseType *command)
mtsMulticastCommandVoid::Execute
virtual mtsExecutionResult Execute(mtsBlockingType CMN_UNUSED(blocking))
mtsMulticastCommandVoid::ToStream
virtual void ToStream(std::ostream &outputStream) const
mtsMulticastCommandVoid::~mtsMulticastCommandVoid
~mtsMulticastCommandVoid()
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
CMN_UNUSED
#define CMN_UNUSED(argument)
Definition
cmnPortability.h:497
mtsCommandVoid.h
Defines a command with no argument.
mtsExport.h
Rules of exporting.
mtsBlockingType
mtsBlockingType
Definition
mtsForwardDeclarations.h:54
Generated by
1.18.0