cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstMultiTask
mtsComponentGeneratorMacros.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): Jonathan Kriss
7
Created on: 2010-08-25
8
9
(C) Copyright 2010 Johns Hopkins University (JHU), All Rights
10
Reserved.
11
12
--- begin cisst license - do not edit ---
13
14
This software is provided "as is" under an open source license, with
15
no warranty. The complete license can be found in license.txt and
16
http://www.cisst.org/cisst/license.txt.
17
18
--- end cisst license ---
19
*/
20
21
#ifndef _mtsComponentGeneratorMacros_h
22
#define _mtsComponentGeneratorMacros_h
23
24
#define MTS_DECLARE_COMPONENT(componentName, componentType) bool InitComponent(void);
25
26
#define MTS_STATE_TABLE_BEGIN
27
#define MTS_STATE_TABLE_DATA(dataType, dataName) dataType dataName;
28
#define MTS_STATE_TABLE_END
29
30
#define MTS_INTERFACE_PROVIDED_BEGIN(interfaceName) struct interfaceName {
31
#define MTS_INTERFACE_PROVIDED_END(interfaceName) } interfaceName;
32
#define MTS_COMMAND_VOID(method, commandNameWithDoubleQuotes)
33
#define MTS_COMMAND_WRITE(method, commandNameWithDoubleQuotes, argumentPrototype)
34
#define MTS_COMMAND_READ(A, B, C)
35
#define MTS_COMMAND_STATEREAD(dataName, commandNameWithDoubleQuotes)
36
#define MTS_COMMAND_QUALIFIEDREAD(A, B, C, D)
37
#define MTS_EVENT_VOID(functionName, eventNameWithDoubleQuotes) mtsFunctionVoid functionName;
38
#define MTS_EVENT_WRITE(functionName, eventNameWithDoubleQuotes, argumentPrototype) mtsFunctionWrite functionName;
39
40
#define MTS_INTERFACE_REQUIRED_BEGIN(interfaceName) struct interfaceName {
41
#define MTS_INTERFACE_REQUIRED_END(interfaceName) } interfaceName;
42
#define MTS_FUNCTION_VOID(functionName, commandNameWithDoubleQuotes) mtsFunctionVoid functionName;
43
#define MTS_FUNCTION_WRITE(functionName, commandNameWithDoubleQuotes) mtsFunctionWrite functionName;
44
#define MTS_FUNCTION_READ(functionName, commandNameWithDoubleQuotes) mtsFunctionRead functionName;
45
#define MTS_FUNCTION_QUALIFIEDREAD(functionName, commandNameWithDoubleQuotes) mtsFunctionQualifiedRead functionName;
46
#define MTS_EVENT_HANDLER_WRITE(method, eventNameWithDoubleQuotes, argumentPrototype)
47
#define MTS_EVENT_HANDLER_VOID(method, eventNameWithDoubleQuotes)
48
#define MTS_EVENT_HANDLER_NONQUEUED_VOID(method, eventNameWithDoubleQuotes)
49
50
#endif
// _mtsComponentGeneratorMacros_h
Generated by
1.18.0