MCPcopy Create free account
hub / github.com/carbonengine/trinity / ExposeToBlue

Method ExposeToBlue

trinity/Curves/TriEventKey_Blue.cpp:8–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6BLUE_DEFINE( TriEventKey );
7
8const Be::ClassInfo* TriEventKey::ExposeToBlue()
9{
10 EXPOSURE_BEGIN( TriEventKey, "" )
11 MAP_INTERFACE( TriEventKey )
12
13 MAP_ATTRIBUTE(
14 "time",
15 m_time,
16 "Time value for this key",
17 Be::READWRITE | Be::PERSIST )
18
19 MAP_ATTRIBUTE(
20 "value",
21 m_value,
22 "String associated with this key. This is passed to the event curve\n"
23 "handler in the case where no callable is set.",
24 Be::READWRITE | Be::PERSIST )
25
26#if BLUE_WITH_PYTHON
27 MAP_ATTRIBUTE(
28 "callable",
29 m_callable,
30 "A Python callable, called when the event triggers.",
31 Be::READWRITE )
32
33 MAP_ATTRIBUTE(
34 "callableArgs",
35 m_callableArgs,
36 "Arguments passed to the Python callable, called when the event triggers.",
37 Be::READWRITE )
38#endif
39
40 EXPOSURE_END()
41}

Callers

nothing calls this directly

Calls 1

MAP_INTERFACEFunction · 0.70

Tested by

no test coverage detected